function xunc=modlog2min(x,bounds)
% Transform the constrained x with bounds bounds(:,1)<=x<=bounds(:,2) into
% an unconstrained one using the logistic transformation 
% Inverse function is minlog2min; 
num=bounds(:,2)-x; 
den=x-bounds(:,1); 
xunc=-log(num./den); 

